Read Data from User Storage

Command:

Read data from user storage.

Notes:

Each block of data is 16 or 32 or 48 characters long (enough for one single,  double or triple key), and this command can return a maximum of 32 blocks of data.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message header

m A

(Subsequently returned to the Host unchanged).

Command code

2 A

Value LE.

Index flag

1 A

Value K.

Index address

3 H

The 3-digit address identifying the first location at which to read the data.

Block count

2 H

The hexadecimal count of the number of blocks of data (0 to X’20).

End message delimiter

1 C

Optional. Must be present if a message trailer is present. Value X’19.

Message trailer

n A

Optional. Maximum length 32 characters.

RESPONSE MESSAGE

Message header

n A

Returned to the Host unchanged.

Response code

2 A

Value LF.

Error code

2 N

00 : No errors

12 : No data loaded in user storage

15 : Error in input data

21 : Invalid user storage index

Block 1

16H or 32H or 48H

The first encrypted key or other data.

.

.

.

.

.

.

.

.

.

Last block

16H or 32H or 48H

The last encrypted key or other data.

End message delimiter

1 C

Present only if present in the command message. Value X’19.

Message trailer

n A

Present only if present in the command message. Maximum length 32 characters.